home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
bkla105.arc
/
BINKLA.DOC
next >
Wrap
Text File
|
1991-09-27
|
19KB
|
405 lines
BinkLA Version 1.05
September 23nd, 1991
╔═══════════════════════╤═════════════════════╤═══════════════════════╗
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓│ BinkLA Version 1.05 │▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
╠═══════════════════════╧═════════════════════╧═══════════════════════╣
║ Binkley Log Level 5 Analyzer ║
║ Copyright (C) 1991 by R.J. (Bob) Ross - ALL RIGHTS RESERVED ║
║ SysOp of RJ's Byteline BBS - FidoNet 1:134/75 ║
╙─────────────────────────────────────────────────────────────────────╜
- 1 -
──────── What Is BinkLA ────────
BinkLA is a program I wrote to look at the Binkley Log file. It's
prime purpose is to summarize output on Network activity. The
information reported is obtained from string information contained in a
BinkleyTerm log file.
──────── Acknowledgement ───────
BinkleyTerm is Copyright by Robert Hartman and Vincent Perriello. QSort
if Copyright by Ben Baker. I claim no credit for any part of this
fine software. I hope my BinkLA program will compliment BinkleyTerm by
summarizing the log entries.
────────── Why BinkLA ──────────
I wrote BinkLA for my own use when I was humping and Hubing mail/files
around Fido Net 1:163. I found it gave a great view of what was going
on in my system. Other SysOps in Net 1:163 expressed interest. I've
been making progressive improvements ever since. The first official
release of BinkLA (Version 1.00) was distributed by SDS in early March,
1990.
────── Where to Put BinkLA ─────
I recommend that BinkLA reside in the same directory as your Binkley
executables and log file however this is not a mandatory requirement.
Some other points:
(2) The Binkley log file may be called any valid DOS file name and
may reside in any directory. Please see "How to Run BinkLA"
on the next page. LogLevel must be set at five (5) in the
Binkley.Cfg file to obtain accurate results.
(3) Either QSort or the DOS Sort.Exe utility MUST be available on
your path or reside in that same directory that BinkLA is run
from. BinkLA will look for QSort as a default. If it does not
find QSort on your path or home directory it will fall back
to using DOS Sort.Exe. I highly recommend using QSort as
it's a lot faster and uses a less memory to sort.
╔═══════════════════════╤═════════════════════╤═══════════════════════╗
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓│ BinkLA Version 1.05 │▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
╠═══════════════════════╧═════════════════════╧═══════════════════════╣
║ Binkley Log Level 5 Analyzer ║
║ Copyright (C) 1991 by R.J. (Bob) Ross - ALL RIGHTS RESERVED ║
║ SysOp of RJ's Byteline BBS - FidoNet 1:134/75 ║
╙─────────────────────────────────────────────────────────────────────╜
- 2 -
────── When to run BinkLA ──────
You can run BinkLA several times a day if you like. One very good time
to run it would be during a daily maintenance event. I suggest you
start a new Binkley.log every 24 hours. I append BKLARPT.TXT to my
Binkley.log file just before I run my nightly SavLogs program.
─────── How to run BinkLA ──────
Use:
BINKLA [<-switch> <LOG=log filename>] or
BINKLA [@filename[.rsp]]
All switches are optional as is the log filename and may be given in
any order. If no Command Line parameters are given BinkLA. Defaults to
creating BKLARPT.TXT and uses Binkley.log in the default directory.
Switches:
No switch will use the default log called Binkley.log, produce
Bklarpt.txt and exit BinkLA
-BBS Will produce file BKLARPT.BBS, an Ansi colourized version of
BKLARPT.TXT suitable for display on a BBS system. The file
contains a clear screen (ASCII Value 12) and more prompt
(ASCII Value 5) code at the beginning of the file. This works
well with my Maximus BBS setup. I don't know what affect
it will have on other BBS systems. Use and 'Kludge' at your
own discretion. If you use Maximus using Video IBM, Maximus
will display the raw ANSI codes on the local screen but users
won't see them.
-D Optional -Ddrive:\path\filename.ext will produce a data file
from the data gathered to produce Part I of the BinkLA report
The fields are delimited by commas (,). The field
descriptions are: Zone, Net, Node, Calls_Out, Connect,
Calls_In, Msg_Bytes_Outgoing, Msg_Bytes_Incoming, CPS_Avg,
Transfer_Seconds. If no Zone information is available, the
Zone field will be padded as 99. If no filename is given with
the -D switch, the default filename will be Bklarpt.Dat.
-EX. Suppress filenames (-EX.Ext.Ext.Ext) in Part II of
Bklarpt.txt or .bbs. Example: Binkla -EX.TIC.RSP.REQ will
suppress all incoming/outgoing filenames with an extension of
TIC, RSP or REQ. A Maximum of 10 .Ext parameters may be used
with the -EX switch.
-H A brief help screen.
╔═══════════════════════╤═════════════════════╤═══════════════════════╗
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓│ BinkLA Version 1.05 │▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
╠═══════════════════════╧═════════════════════╧═══════════════════════╣
║ Binkley Log Level 5 Analyzer ║
║ Copyright (C) 1991 by R.J. (Bob) Ross - ALL RIGHTS RESERVED ║
║ SysOp of RJ's Byteline BBS - FidoNet 1:134/75 ║
╙─────────────────────────────────────────────────────────────────────╜
- 3 -
-L Will cause BinkLA to read the Binkley log file entries,
produce text file BKLARPT.TXT and display the output to the
screen using a list procedure. The list procedure allows full
forward/backward scroll, Pg Up, Pg Dn, End, Esc, Home and
eXit. A maximum of 225 report output text lines are supported
by the list procedure.
-LL If file BKLARPT.TXT exists in the default directory, BinkLA
will immediately jump to the list procedure and display the
last created BKLARPT.TXT. Note: if any other command line
switches are given with the -LL switch, they will be ignored.
-NZ Will suppress Zone information and only display Net/Node in
Bklarpt. This should make Binkla 1.04 and above compatible
with BinkleyTerm Version 2.30
LOG= Log=[path\]filename may be used to read a Binkley.log in
another directory and/or a logfile not called the default
"Binkley.log".
@ @filename[.rsp] may be used instead of using the switches on
the Command line. The response file must be in text format
and have an extension of ".RSP". When calling the response
file from the command line the extension may be omitted as
.RSP is assumed. ie: BINKLA @BLA1 would look in the current
directory for a file called BLA1.RSP. The purpose of the
response file is to make it easier to execute BinkLA using
multiple switches. For example instead of - BINKLA -L -NZ
-EX.TIC.REQ LOG=System.log which is quite cumbersome to type
from the command line you can create a plain text file
containing the command line parameters. BinkLA only reads the
first line of the of the response file so you may include any
remarks on subsequent lines if you like.
─────── Explanatory Notes ──────
Log File Strings.
BinkLA uses the following strings found in a Binkley log file:
" Timeout"
"BINK Too many errors"
"BINK begin"
"BINK Connect 1200"
"BINK Connect 2400"
"BINK Connect 9600"
"BINK CPS:"
"BINK Disconnecting nuisance"
"BINK End of connection attempt"
"BINK End of FTS-000"
"BINK End of WaZOO"
"BINK end,"
"BINK Exiting to BBS"
╔═══════════════════════╤═════════════════════╤═══════════════════════╗
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓│ BinkLA Version 1.05 │▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
╠═══════════════════════╧═════════════════════╧═══════════════════════╣
║ Binkley Log Level 5 Analyzer ║
║ Copyright (C) 1991 by R.J. (Bob) Ross - ALL RIGHTS RESERVED ║
║ SysOp of RJ's Byteline BBS - FidoNet 1:134/75 ║
╙─────────────────────────────────────────────────────────────────────╜
- 4 -
"BINK Inbound"
"BINK Incoming cal"
"BINK Incoming call, dial aborted"
"BINK No Send"
"BINK Nobody answered"
"BINK Nothing to send"
"BINK Password override for outgoing call"
"BINK Processing node"
"BINK Pwd Err"
"BINK Password Err"
"BINK Received"
"BINK Remote didn't respond
"BINK Resuming from offset"
"BINK Session with"
"BINK Synchronizing to Offset"
"BINK Spawning BBS"
"BINK Z-rz Too many errors"
"BINK Z-rz ???"
"Ring"
"SpawnBBS"
If any of these strings are changed in the Binkley.lng file, chances
are that BinkLA will run with erroneous results.
System Name.
If BinkLA finds a Binkley.Cfg file in the default directory, it will
parse the Binkley.Cfg file looking for the "System" verb and display
the BBS name of the System at the top (center) of the BinkLA report
(BKLARPT.TXT).
Time periods.
BinkLA gets it's start time period from the first begin statement.
Ending time comes from the last end statement. Version 1.00 was
dependent on a begin statement from the log file.
I was informed that Point operation of Binkley without a Nodelist does
not produce a begin statement in the log. Begin statement dependence
has been removed from Version 1.01. If BinkLA does not find it or an
end time it will create a pseudo time and continue processing.
Telephone Calls (Part I).
Telephone calls where a file transfer occurs are not tabulated in Part
I. Unsuccessful connect attempts will tabulate in Part I even though
the attempt might be to send a file.
Transfer Minutes (Part I).
Transfer minutes is based on the the formula (Bytes Transferred / CPS)
/ 60 rounded for output to one decimal point accuracy.
╔═══════════════════════╤═════════════════════╤═══════════════════════╗
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓│ BinkLA Version 1.05 │▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
╠═══════════════════════╧═════════════════════╧═══════════════════════╣
║ Binkley Log Level 5 Analyzer ║
║ Copyright (C) 1991 by R.J. (Bob) Ross - ALL RIGHTS RESERVED ║
║ SysOp of RJ's Byteline BBS - FidoNet 1:134/75 ║
╙─────────────────────────────────────────────────────────────────────╜
- 5 -
Average CPS (Part I).
Average CPS is calculated by dividing the transfer time (seconds) into
the total number of bytes transferred.
CPS Rate (Part II).
The CPS rate is the actual rate shown in the Log. The Total column CPS
Rate is an average of the of the total CPS Rate / File Transfers.
Totals (Part II).
The totals in Part II are:
(1) The total number of files transferred.
(2) Total bytes sent.
(3) Total bytes received.
(4) An average CPS transfer rate.
(5) Total transfer minutes.
Part III will report Network Session Costs if the information is
available in the log file. BinkleyTerm Version 2.50 now reports these
costs in the log file. Only Session costs where the cost is greater
than $0.00 will be reported in Part III of the BinkLA report.
Unsuccessful Connect Attempts (Part IV)
Unsuccessful Connect Attempts are (Calls Out plus Calls In) minus
connects.
╔═══════════════════════╤═════════════════════╤═══════════════════════╗
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓│ BinkLA Version 1.05 │▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
╠═══════════════════════╧═════════════════════╧═══════════════════════╣
║ Binkley Log Level 5 Analyzer ║
║ Copyright (C) 1991 by R.J. (Bob) Ross - ALL RIGHTS RESERVED ║
║ SysOp of RJ's Byteline BBS - FidoNet 1:134/75 ║
╙─────────────────────────────────────────────────────────────────────╜
- 6 -
─────────── Conclusion ─────────
BinkLA is supplied as is. Users are granted unlimited free license for
it's use. It's my small donation to the BBS community and hobby.
I would be very pleased if you took the time to to try BinkLA on your
system. I've had some very good vibes from Sysops around the world
using BinkLA and I'm pleased that I am able to dedicate a worthwhile
program freely given in the same spirit as BinkleyTerm.
One thing I would very much appreciate is if you would send me a
NetMail message to FidoNet 1:134/75 to let me know if you use the
program. I have a world map on my wall and I would very much like to
stick a few map pins in it to indicate BBS friends from other places
who are using my program. Or you can drop me a Post Card via Snail Mail
to:
R.J. (Bob) Ross
#107A 3730 50th Street N.W.
Calgary, Alberta, Canada
T3A 2V9
I hope you enjoy the program. A sample output report follows.
Yours truly,
R.J. (Bob) Ross
─────── An Example Output ──────
Binkley.log BinkLA V1.05
RJ's Byteline BBS
Binkley Log Statistics for the period of
22 Sep 03:06:29 Hrs «« to »» 22 Sep 15:54:30 Hrs
┌──────────────────┬────────────────────────────────────┬──────────────────┐
│░░░░░░░░░░░░░░░░░░│ Part I - Message Transfers & Calls │░░░░░░░░░░░░░░░░░░│
╞══════════════╤═══╧════════════════╤═══════════════════╧═════╤══════╤═════╡
│Zone:Net/Node │ Telephone Calls │ Message Bytes │ CPS │ Tran│
│ Number │ Out │ Connect │ In │ Outgoing │ Incoming │ Avg │ Min│
╞══════════════╧═════╧═════════╧════╧════════════╧════════════╧══════╧═════╡
│1:100/555 3 1 0 0 11,100 925 0.2│
│1:134/0 0 3 3 0 3,433 490 0.1│
│1:134/1 2 1 0 0 153,748 1618 1.6│
│1:134/2 1 4 3 634 13,567 710 0.3│
│1:30124/1 0 4 4 173,027 630 1046 2.8│
├──────────────────────────────────────────────────────────────────────────┤
│ TOTALS 6 13 10 173,661 182,478 1187 5.0│
╘══════════════════════════════════════════════════════════════════════════╛
┌───────────────────┬──────────────────────────────────┬───────────────────┐
│░░░░░░░░░░░░░░░░░░░│ PART II - Network File Transfers │░░░░░░░░░░░░░░░░░░░│
╞══════════════╤════╧═══════════════╤══════════════════╧══════╤══════╤═════╡
│Zone:Net/Node │ │ File Bytes │ CPS │ Tran│
│ Number │ File Names │ Outgoing │ Incoming │ Rate │ Min│
╞══════════════╧════════════════════╧════════════╧════════════╧══════╧═════╡
│1:100/555 0064022B.REQ 12 0 6 0.0│
│1:100/555 QBNWS203.ZIP 0 111,984 1027 1.8│
├──────────────────────────────────────────────────────────────────────────┤
│ TOTALS 2 12 111,984 1009 1.9│
╘══════════════════════════════════════════════════════════════════════════╛
┌───────────────────┬──────────────────────────────────┬───────────────────┐
│░░░░░░░░░░░░░░░░░░░│ PART III - Network Session Costs │░░░░░░░░░░░░░░░░░░░│
╞══════════════╤════╧═══════════════╤══════════════════╧══════╤════════════╡
│Zone:Net/Node │ Logged At │ Session Time │ Cost │
│ Number │ Date │ Time │ Hrs │ Mins │ Secs │ │
╞══════════════╧════════╧═══════════╧═════════╧══════╧════════╧════════════╡
│1:100/555 22 Sep 07:36:59 00 02 56 $ 0.60 │
╘══════════════════════════════════════════════════════════════════════════╛
┌──────────────────────────┬────────────────────┬──────────────────────────┐
│░░░░░░░░░░░░░░░░░░░░░░░░░░│ PART IV - SUMMARY │░░░░░░░░░░░░░░░░░░░░░░░░░░│
╞══════════════════════════╧════╤═══════════════╧══════════════════════════╡
│ BBS Callers at 9600 = 0 │ Message Bytes Transferred = 356,139 │
│ 2400 = 4 │ File Bytes Transferred = 111,996 │
│ 1200 = 1 │ TOTAL Bytes Transferred = 468,135 │
│ Other = 0 ├──────────────────────────────────────────┤
│ │ Message Connect Time = 0.1 │
│ TOTAL BBS Callers = 5 │ File Transfer Connect Time = 0.0 │
│ │ TOTAL Connect Time (Hours) = 0.1 │
│ │ TOTAL Network Session Costs = $ 0.60 │
│ ├──────────────────────────────────────────┤
│ │ Unsuccessful Connect Attempts= 3 │
└───────────────────────────────┴──────────────────────────────────────────┘
Created Data File: BKLARPT.DAT
Sample BKLARPT.DAT
1,100,555,3,1,0,0,11100,925,12
1,134,0,0,3,3,0,3433,490.4286,7
1,134,1,2,1,0,0,153748,1618.4,95
1,134,2,1,4,3,634,13567,710.05,20
1,30124,1,0,4,4,173027,630,1046.126,166